<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Vue 示例</title>
</head>
<body>
<div id="vue_base_books">
    <ul>
        <li v-for="book in books">{{ book.name }}</li>
    </ul>
</div>

<script src="https://unpkg.com/vue/dist/vue.min.js"></script>
<script>
    new Vue({
        el: '#vue_base_books',
        data:{
            books: [
                {name:'《Vue 项目实战》'},
                {name:'《JavaScript语言精粹》'}
            ]
        }
    })
</script>

</body>
</html>